<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:h="http://java.sun.com/jsf/html"            
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:p="http://primefaces.org/ui">
    
    <ui:include src="sessionTimeOut.xhtml"/>
    <body>
        <ui:composition template="./TemplateApp.xhtml">
            <ui:define name="top">
            <div id="top" style="background: #FDFDFD">
            <p:graphicImage value="images/helpdesklogo.jpg" width="150" height="100%" />
            <ui:insert name="top"></ui:insert>
            </div>
            </ui:define>

            <ui:define name="left">
                <table border="1" width="100%" cellpadding="1" cellspacing="1">
                    <tr><td></td></tr>
                    <tr><td><h:form><h:commandLink id="link" onclick="if (confirm('¿Está seguro?')) return true" action="#{login_bean.logout}">
  <h:outputText value="Salir"/>
</h:commandLink></h:form></td></tr>
                </table>
            </ui:define>


            <ui:define name="content">
                <font class="mensajeBienvenida">
                    Usuario:<h:outputText value="#{UserFirstName} #{UserLastName}"/>&nbsp;Código:<h:outputText value="#{UserID}"/>&nbsp;&nbsp;Rol ID: <h:outputText value="#{UserRolID}"/>
</font>
                <table border="1" width="100%" cellpadding="1" cellspacing="1">
                    <tr><td align="left">
                            <h:outputLink value="SolicitudByUser.xhtml"><h:outputText value="Solicitudes por usuario"/></h:outputLink></td></tr>
                </table>
            </ui:define>

            <ui:define name="bottom">
                <table border="1" width="100%" cellpadding="1" cellspacing="1">
                    <tr><td align="center">© Derechos reservados 2012</td></tr>
                </table>
                
            </ui:define>

        </ui:composition>

    </body>
</html>
    